7.8
HIGH CVSS 3.0
CVE-2023-40477
WinRAR Recovery Volume Array Index Validation Remote Code Execution
Description

RARLAB WinRAR Recovery Volume Improper Validation of Array Index Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of RARLAB WinRAR. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specific flaw exists within the processing of recovery volumes. The issue results from the lack of proper validation of user-supplied data, which can result in a memory access past the end of an allocated buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-21233.

INFO

Published Date :

May 3, 2024, 3:15 a.m.

Last Modified :

June 20, 2025, 6:13 p.m.

Remotely Exploit :

No
Affected Products

The following products are affected by CVE-2023-40477 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Rarlab winrar
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.0 HIGH [email protected]
Solution
Upgrade WinRAR and associated packages to remediate a remote code execution vulnerability.
  • Upgrade WinRAR to version 6.23 or later.
  • Upgrade the rar and unrar packages.
  • Update ClamAV packages to the latest version.
Public PoC/Exploit Available at Github

CVE-2023-40477 has a 2 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2023-40477.

URL Resource
https://www.win-rar.com/singlenewsview.html?&L=0&tx_ttnews%5Btt_news%5D=232&cHash=c5bf79590657e32554c6683296a8e8aa Release Notes
https://www.zerodayinitiative.com/advisories/ZDI-23-1152/ Third Party Advisory VDB Entry
https://www.win-rar.com/singlenewsview.html?&L=0&tx_ttnews%5Btt_news%5D=232&cHash=c5bf79590657e32554c6683296a8e8aa Release Notes
https://www.zerodayinitiative.com/advisories/ZDI-23-1152/ Third Party Advisory VDB Entry
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2023-40477 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2023-40477 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

CVE-2023-40477 PoC by Wild-Pointer

Python

Updated: 1 year ago
25 stars 9 fork 9 watcher
Born at : Aug. 29, 2023, 4:29 p.m. This repo has been linked 2 different CVEs too.

Scan for WinRAR files affected to CVE-2023-40477

PowerShell

Updated: 1 year, 11 months ago
0 stars 0 fork 0 watcher
Born at : Aug. 29, 2023, 2:41 p.m. This repo has been linked 1 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2023-40477 vulnerability anywhere in the article.

  • Daily CyberSecurity
WinRAR Update: Zero-Day Path Traversal Flaw (CVE-2025-8088) Actively Exploited to Deliver Malware

Security researchers at ESET have uncovered a zero-day path traversal vulnerability in the Windows version of WinRAR that has been actively exploited to execute arbitrary code on victims’ systems. Tra ... Read more

Published Date: Aug 11, 2025 (2 weeks, 4 days ago)
  • Daily CyberSecurity
CVE-2025-6218: WinRAR Directory Traversal Bug Opens the Door to Remote Code Execution

A newly disclosed vulnerability in RARLAB’s WinRAR, the long-standing compression utility for Windows, has exposed millions of users to a severe directory traversal flaw that could lead to remote code ... Read more

Published Date: Jun 24, 2025 (2 months ago)
  • Hackread - Latest Cybersecurity, Tech, Crypto & Hacking News
Hackers Use Fake PoCs on GitHub to Steal WordPress Credentials, AWS Keys

SUMMARY Fake PoCs on GitHub: Cybercriminals used trojanized proof-of-concept (PoC) code on GitHub to deliver malicious payloads to unsuspecting users, including researchers and security professionals. ... Read more

Published Date: Dec 17, 2024 (8 months, 1 week ago)
  • Cybersecurity News
Warning: Fake WinRar Websites Distributing Malware

SonicWall has recently issued a cybersecurity alert about a deceptive website that mimics the official WinRar site. This fake site, win-rar.co, not only closely resembles the legitimate WinRar site bu ... Read more

Published Date: Aug 07, 2024 (1 year ago)

The following table lists the changes that have been made to the CVE-2023-40477 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Jun. 20, 2025

    Action Type Old Value New Value
    Added CPE Configuration OR *cpe:2.3:a:rarlab:winrar:*:*:*:*:*:*:*:* versions up to (excluding) 6.23
    Added Reference Type CVE: https://www.win-rar.com/singlenewsview.html?&L=0&tx_ttnews%5Btt_news%5D=232&cHash=c5bf79590657e32554c6683296a8e8aa Types: Release Notes
    Added Reference Type Zero Day Initiative: https://www.win-rar.com/singlenewsview.html?&L=0&tx_ttnews%5Btt_news%5D=232&cHash=c5bf79590657e32554c6683296a8e8aa Types: Release Notes
    Added Reference Type CVE: https://www.zerodayinitiative.com/advisories/ZDI-23-1152/ Types: Third Party Advisory, VDB Entry
    Added Reference Type Zero Day Initiative: https://www.zerodayinitiative.com/advisories/ZDI-23-1152/ Types: Third Party Advisory, VDB Entry
  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://www.win-rar.com/singlenewsview.html?&L=0&tx_ttnews%5Btt_news%5D=232&cHash=c5bf79590657e32554c6683296a8e8aa
    Added Reference https://www.zerodayinitiative.com/advisories/ZDI-23-1152/
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Received by [email protected]

    May. 03, 2024

    Action Type Old Value New Value
    Added Description RARLAB WinRAR Recovery Volume Improper Validation of Array Index Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of RARLAB WinRAR. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specific flaw exists within the processing of recovery volumes. The issue results from the lack of proper validation of user-supplied data, which can result in a memory access past the end of an allocated buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-21233.
    Added Reference Zero Day Initiative https://www.zerodayinitiative.com/advisories/ZDI-23-1152/ [No types assigned]
    Added Reference Zero Day Initiative https://www.win-rar.com/singlenewsview.html?&L=0&tx_ttnews%5Btt_news%5D=232&cHash=c5bf79590657e32554c6683296a8e8aa [No types assigned]
    Added CWE Zero Day Initiative CWE-129
    Added CVSS V3 Zero Day Initiative AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 7.8
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact